//
//  EpisodeModel.m
//  GentlemanAnime
//
//  Created by dlios on 15-6-30.
//  Copyright (c) 2015年 lanou3g.com 蓝欧科技. All rights reserved.
//

#import "EpisodeModel.h"

@implementation EpisodeModel
- (void)dealloc {
    [_epId release];
    [_coverURL release];
    [_title release];
    [_last_update_chapter_name release];
    [super dealloc];
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key {
    if ([key isEqualToString:@"id"]) {
        self.epId = (NSString *)value;
    } else if ([key isEqualToString:@"cover"]) {
        NSString *str = [(NSString *)value stringByReplacingPercentEscapesUsingEncoding:NSUTF8StringEncoding];
        self.coverURL = str;
    }
}
@end
